package designMode.commandPattern;

/**
 * @ClassName Light
 * @Description 灯具类
 * @Author LIBOFEI
 * @Date 2020/6/24 21:48
 * @Version 1.0
 **/
public class Light {

    public void on(){
        System.out.println("打开了开关");
    }

    public void off(){ System.out.println("关闭了开关");}
}
